import QtQuick
import QtQuick.Controls
import QtQuick.Layouts

Window {
    width: 800
    height: 600
    visible: true
    title: qsTr("QML Popup Examples")

    TabBar {
        id: tabBar
        width: parent.width
        TabButton { text: "Simple Popup"; height: 30 }
        TabButton { text: "Modal Popup"; height: 30 }
        TabButton { text: "Custom Popup"; height: 30 }
        TabButton { text: "Animated Popup"; height: 30 }
    }

    StackLayout {
        width: parent.width
        height: parent.height - tabBar.height
        anchors.top: tabBar.bottom
        currentIndex: tabBar.currentIndex

        SimplePopup {}
        ModalPopup {}
        CustomPopup {}
        AnimatedPopup {}
    }
} 
